Brahmastra: Driving Apps to Test the Security of Third-Party Components
نویسندگان
چکیده
We present an app automation tool called Brahmastra for helping app stores and security researchers to test thirdparty components in mobile apps at runtime. The main challenge is that call sites that invoke third-party code may be deeply embedded in the app, beyond the reach of traditional GUI testing tools. Our approach uses static analysis to construct a page transition graph and discover execution paths to invoke third-party code. We then perform binary rewriting to “jump start” the third-party code by following the execution path, efficiently pruning out undesired executions. Compared with the state-of-theart GUI testing tools, Brahmastra is able to successfully analyse third-party code in 2.7×more apps and decrease test duration by a factor of 7. We use Brahmastra to uncover interesting results for two use cases: 175 out of 220 children’s apps we tested display ads that point to web pages that attempt to collect personal information, which is a potential violation of the Children’s Online Privacy Protection Act (COPPA); and 13 of the 200 apps with the Facebook SDK that we tested are vulnerable to a known access token attack.
منابع مشابه
Security Analysis of Consumer-Grade Anti-Theft Solutions Provided by Android Mobile Anti-Virus Apps
We study the “anti-theft” mechanisms available to consumers to thwart unauthorised access to personal data on stolen Android smartphones. With millions of devices stolen in the USA in 2013 alone, such attacks are a serious and growing problem. The main mitigation against unauthorised data access on stolen devices is provided by “anti-theft” apps; that is, with “remote wipe” and “remote lock” fu...
متن کاملEvaluation of social livability components and their interpretive structural modeling, case study: Qaen city
Introduction In the current century, known as the century of cities, a significant part of the world's population lives in cities and the trend of increasing urbanization continues. In such circumstances, the important question is to what extent cities are suitable places for human life. Hence, the concept of urban livability and livable city has become one of the most widely used concepts in...
متن کاملNaClDroid: Native Code Isolation for Android Applications
Android apps frequently incorporate third-party libraries that contain native code; this not only facilitates rapid application development and distribution, but also provides new ways to generate revenue. As a matter of fact, one in two apps in Google Play are linked with a library providing ad network services. However, linking applications with third-party code can have severe security impli...
متن کاملDefending Users against Smartphone Apps: Techniques and Future Directions
Smartphone security research has become very popular in response to the rapid, worldwide adoption of new platforms such as Android and iOS. Smartphones are characterized by their ability to run third-party applications, and Android and iOS take this concept to the extreme, o↵ering hundreds of thousands of “apps” through application markets. In response, smartphone security research has focused ...
متن کاملSecurity-aware selection of Web Services for Reliable Composition
Dependability is an important characteristic that a trustworthy computer system should have. It is a measure of Availability, Reliability, Maintainability, Safety and Security. The focus of our research is on security of web services. Web services enable the composition of independent services with complementary functionalities to produce value-added services, which allows organizations to impl...
متن کامل